package com.anyext.storage.jdbc;

import java.sql.Connection;
import java.sql.SQLException;

import com.anyext.storage.SessionException;

public interface ConnectionCallback<T> {
	
	T doInConnection(Connection con) throws SQLException, SessionException;
	
	String getSql();

}
